<?php

  session_start();
    $_xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
    $_xml.= header("Content-Type: text/xml");
    if(!$_SESSION['Eingeloggt']){
        $_xml.='<Login>FALSE</Login>';
    }else{
        $_xml.='<Login>TRUE</Login>';
    }
    
    $getContent = $_POST['select_site'];
    
    $_xml.='<Contet>';
    
    switch ($getContent){
        case 'Home':
            
            $_xml.= '';
            
            break;
        default :
            $_fehler = '<Fehler>Kein Inhalt gefunden</Fehler>';
    }
    $_xml.='</Content>';
    $_xml.=$_fehler;
    
    echo $_xml;
?>